package cn.xiaohuodui.dao;

import cn.xiaohuodui.model.Topic;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TopicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Topic record);

    int insertSelective(Topic record);

    Topic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Topic record);

    int updateByPrimaryKeyWithBLOBs(Topic record);

    int updateByPrimaryKey(Topic record);

    List<Topic> getIndexTopics(int limit);
}